#include<stdio.h>
int main()
{
    int a[5]={1,2,4,5,6};
    for(int i=0;i<5;i++)
    {
        printf("a[%d]:%d  \n",i,*(a+1));
    }
//    int a[4] = {2016,2017,2018,2019};
//    int *ptr1=(int *)(&a+1);
//    int *ptr2=(int *)((int)a+1);
//    printf("%x,%x",ptr1[-1],*ptr2);
   char arr[] = { 'a','b','c','b' };
	printf("%d\n", sizeof(arr));   //4(the size of arr)
	printf("%d\n", *(arr+0));      //97
	printf("%d\n", sizeof(*arr));  //1
	printf("%d\n", sizeof(arr[1]));//1
	printf("%d\n", sizeof(&arr));  //8
	printf("%d\n", sizeof(&arr+1));//
	printf("%d\n", sizeof(&arr[0]+1));

   return 0;
}
